package cg.object.builder.startup;

import org.eclipse.core.runtime.Platform;
import org.eclipse.ui.IStartup;
import org.osgi.framework.BundleException;

import cg.object.builder.Activator;

/**
 * Startup to force the load of the plugin.
 * 
 * @author roucouj@gmail.com
 * 
 */
public class Startup implements IStartup {

	public void earlyStartup() {
		try {
			Platform.getBundle(Activator.PLUGIN_ID).start();
		} catch (BundleException e) {
			// e.printStackTrace();
		}
	}

}
